package com.dev.security.util;

/**
 * 响应信息
 * @author 潜行的青衣
 * @see
 */
public class Response {

	private boolean success;
	
	private Object message;

	public Response(boolean success) {
		this.success = success; 
	}
	
	public Response(Object message) {
		this.message = message;
	}
	
	public Response(boolean success, Object message) {
		this(success);
		this.message = message;
	}
	
	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public Object getMessage() {
		return message;
	}

	public void setMessage(Object message) {
		this.message = message;
	}
	
}
